package vo

type CommentReq struct {
	InstrumentID uint   `json:"instrument_id" binding:"required"`
	Content      string `json:"content" binding:"required"`
	UserID       uint   `json:"user_id" binding:"required"`
}

type ListCommentReq struct {
	PageNum  int `json:"page_num"`
	PageSize int `json:"page_size"`
}

type ListCommentResp struct {
	Content        string `json:"content"`
	InstrumentID   uint   `json:"instrument_id"`
	InstrumentName string `json:"instrument_name"`
	UserID         uint   `json:"user_id"`
	UserName       string `json:"user_name"`
	CreatedAt      string `json:"created_at"`
}
